If you override finalize(), make it protected. If you make it public, other classes may call it.

<p>
  This rule is deprecated, use {rule:java:S1174} instead.
</p>
